function motion () {
    const Xml =
   

'<category name="MotorDriverBoard" id="MotorDriverBoard" colour="#0097A7" secondaryColour="#0097A7">' +
'<block type="md_mdinit" id="md_mdinit">'+
  '</block>'+
 '<block type="md_servoinit" id="md_servoinit">'+
'</block>'+
'<block type="md_servodegree" id="md_servodegree">'+
'<value name="servodegrees">' +
    '<shadow type="math_number">' +
      '<field name="NUM">90</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_servodegreeSpeed" id="md_servodegreeSpeed">'+
'<value name="servodegreesSpeed">' +
    '<shadow type="math_number">' +
      '<field name="NUM">90</field>' +
    '</shadow>' +
  '</value>' +
  '<value name="servoSpeed">' +
    '<shadow type="math_number">' +
      '<field name="NUM">1</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
	 '<block type="md_dcmotorinit" id="md_dcmotorinit">'+
'</block>'+
 '<block type="md_dcmotorspeed" id="md_dcmotorspeed">'+
'<value name="dcmotorspeeds">' +
    '<shadow type="math_number">' +
      '<field name="NUM">0</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
 '<block type="md_stodcpmotor" id="md_stopdcmotor">'+
'</block>'+
	 '<block type="md_enmotorinit" id="md_enmotorinit">'+
'</block>'+
 '<block type="md_enmotorspeed" id="md_enmotorspeed">'+
'<value name="enmotorspeeds">' +
    '<shadow type="math_number">' +
      '<field name="NUM">0</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_stopenmotor" id="md_stopenmotor">'+
'</block>'+
 '<block type="md_stepmotorinit" id="md_stepmotorinit">'+
'<value name="stepsperround">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_stepmotorspeed" id="md_stepmotorspeed">'+
'<value name="totalstep">' +
    '<shadow type="math_number">' +
      '<field name="NUM">200</field>' +
    '</shadow>' +
  '</value>' +
  '<value name="stepmotorspeed">' +
    '<shadow type="math_number">' +
      '<field name="NUM">60</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_stopstepper" id="md_stopstepper">'+
'</block>'+
'<block type="md_rgbinit" id="md_rgbinit">'+
'</block>'+
'<block type="md_rgbcolor" id="md_rgbcolor">'+
'<value name="COLOR">'+
  '<shadow type="colour_picker"/>'+
'</value>'+
  '<value name="rgbbrightness">' +
    '<shadow type="math_number">' +
      '<field name="NUM">255</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
// '<block type="md_rgbcolor2" id="md_rgbcolor2">'+
// '<value name="COLOR">'+
//   '<shadow type="colour_picker"/>'+
// '</value>'+
//    '<value name="rgbbrightness2">' +
//     '<shadow type="math_number">' +
//       '<field name="NUM">255</field>' +
//     '</shadow>' +
//   '</value>' +
// '</block>'+
'<block type="md_irinit" id="md_irinit">'+
'</block>'+
'<block type="md_isirremote" id="md_isirremote">'+
'</block>'+
'<block type="md_irpress" id="md_irpress">'+
'</block>'+
'<block type="md_irpress2" id="md_irpress2">'+
'</block>'+
'<block type="md_buzzerinit" id="md_buzzerinit">'+
'</block>'+
'<block type="md_buzzerplay" id="md_buzzerplay">'+
'</block>'+
'<block type="md_ulinit" id="md_ulinit">'+
'</block>'+
'<block type="md_ulplay" id="md_ulplay">'+
'</block>'+
'<block type="md_ps2init" id="md_ps2init">'+
'</block>'+
'<block type="ps2status" id="ps2status">'+
'</block>'+
'<block type="md_ps2pressed" id="md_ps2pressed">'+
'</block>'+
'<block type="md_ps2press" id="md_ps2press">'+
'</block>'+
'<block type="md_ps2getrockervalue" id="md_ps2getrockervalue">'+
'</block>'+
'<block type="md_ps2getrockervalue2" id="md_ps2getrockervalue2">'+
'</block>'+
'<block type="md_nrf24l01send" id="md_nrf24l01send">'+
	'<value name="address">' +
		'<shadow type="text">' +
			'<field name="TEXT">MotorDriver</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="channel">' +
		'<shadow type="math_number">' +
			'<field name="NUM">90</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="arr">' +
		'<shadow type="text">' +
			'<field name="TEXT"></field>' +
		'</shadow>' +
    '</value>' +
'</block>'+

'<block type="md_makearr" id="md_makearr">'+
	'<value name="arrname">' +
		'<shadow type="text">' +
			'<field name="TEXT">list</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="arrnum">' +
		'<shadow type="text">' +
			'<field name="TEXT">4</field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_setarr" id="md_setarr">'+
	'<value name="arrname2">' +
		'<shadow type="text">' +
			'<field name="TEXT">list</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="arrno2">' +
		'<shadow type="text">' +
			'<field name="TEXT">1</field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_setarr2" id="md_setarr2">'+
	'<value name="arrname22">' +
		'<shadow type="text">' +
			'<field name="TEXT">list</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="arrno22">' +
		'<shadow type="math_number">' +
			'<field name="NUM">1</field>' +
		'</shadow>' +
    '</value>' +
	'<value name="arrvalue">' +
		'<shadow type="math_number">' +
			'<field name="NUM"></field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_nrf24l01send2" id="md_nrf24l01send2">'+
	'<value name="nrfdata2">' +
		'<shadow type="text">' +
			'<field name="TEXT"></field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_nrf24l01send2isok" id="md_nrf24l01send2isok">'+
'</block>'+
'<block type="md_nrf24l01send2isrec" id="md_nrf24l01send2isrec">'+
'</block>'+
'<block type="md_nrf24l01rec2" id="md_nrf24l01rec2">'+
	'<value name="nrfdata3">' +
		'<shadow type="text">' +
			'<field name="TEXT"></field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_m4init" id="md_m4init">'+
	'<field name="M4Ports1">2</field>' +
	'<field name="M4Ports2">1</field>' +
	'<field name="M4Ports3">4</field>' +
	'<field name="M4Ports4">3</field>' +
'</block>'+
/*
'<block type="md_m4goforward" id="md_m4goforward">'+
  '<value name="m4speed1">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4backforward" id="md_m4backforward">'+
  '<value name="m4speed2">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4turnleft" id="md_m4turnleft">'+
  '<value name="m4speed3">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4turnright" id="md_m4turnright">'+
  '<value name="m4speed4">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4turnlefts" id="md_m4turnlefts">'+
  '<value name="m4speed33">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4turnrights" id="md_m4turnrights">'+
  '<value name="m4speed44">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4godegree" id="md_m4godegree">'+
  '<value name="m4godegree">' +
    '<shadow type="math_number">' +
      '<field name="NUM">90</field>' +
    '</shadow>' +
  '</value>' +
  '<value name="m4gospeed">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4stop" id="md_m4stop">'+
'</block>'+*/
'<block type="md_bluetoothinit" id="md_bluetoothinit">' +
'</block>' +
'<block type="md_receivedata" id="md_receivedata">' +
'</block>' +
'<block type="md_receiveddata" id="md_receiveddata">' +
'</block>' +
'<block type="md_bluetoothKeyPress" id="md_bluetoothKeyPress">' +
'</block>' +
'<block type="md_bluetoothstyle" id="md_bluetoothstyle">' +
'</block>' +
'<block type="md_bluetoothgetdegree" id="md_bluetoothgetdegree">' +
'</block>' +
'<block type="md_nrfinit" id="md_nrfinit">' +
    '<value name="nrfadd">' +
    '<shadow type="text">' +
      '<field name="TEXT">MotorDriver</field>' +
    '</shadow>' +
  '</value>' +
'</block>' +
'<block type="md_nrfdataready" id="md_nrfdataready">' +
'</block>' +
'<block type="md_nrfvalue" id="md_nrfvalue">' +
'</block>' +
'<block type="md_nrfgetdata" id="md_nrfgetdata">' +
'</block>' +
'<block type="md_nrfgetpackage" id="md_nrfgetpackage">' +
'</block>' +
'<block type="md_nrfnewob" id="md_nrfnewob">' +
'</block>' +
'<block type="md_nrfdatafun" id="md_nrfdatafun">' +
'</block>' +
'<block type="md_nrfbuttons" id="md_nrfbuttons">' +
'</block>' +
'<block type="md_nrfgetdegree" id="md_nrfgetdegree">' +
'</block>' +
'<block type="md_nrfgetspeed" id="md_nrfgetspeed">' +
'</block>' +
'</category>'
;

    const categoriesXML = `
            ${Xml}
        `;
    return categoriesXML;
};

module.exports = motion() ;
